package com.ara.copy.activity;

import android.os.Bundle;

import androidx.annotation.Nullable;

import com.alibaba.android.arouter.facade.annotation.Route;
import com.ara.copy.constant.CopyRouterApiConstant;
import com.ara.copy.contract.CopyContract;
import com.ara.account.databinding.CopyActivityCopyBinding;
import com.ara.copy.presenter.CopyPresenter;
import com.ara.common.kernel.base.BaseMvpActivity;
import com.ara.common.kernel.network.exception.ExceptionHandle;


/**
 * Created by XieXin on 2021/5/18.
 * 复制 页面
 */
@Route(path = CopyRouterApiConstant.API_COPY)
public class CopyActivity extends BaseMvpActivity<CopyActivityCopyBinding,
        CopyContract.View, CopyPresenter>
        implements CopyContract.View {
    @Override
    public CopyActivityCopyBinding getViewBinding() {
        return CopyActivityCopyBinding.inflate(getLayoutInflater());
    }

    @Override
    public void initView(@Nullable Bundle savedInstanceState) {
    }

    @Override
    protected void onResume() {
        super.onResume();
    }

    @Override
    protected CopyPresenter createPresenter() {
        return new CopyPresenter(this);
    }

    @Override
    public void onCopySuccess() {
    }

    @Override
    public void showLoadingProgress() {
    }

    @Override
    public void dismissLoadingProgress() {
    }

    @Override
    public void onError(int requestCode, ExceptionHandle.ResponseThrowable e) {
    }

    @Override
    public void onToast(ExceptionHandle.ResponseThrowable e) {
        onBaseToast(e);
    }
}
